package cn.itcast.service.impl;

import cn.itcast.dao.ArchivesDao;
import cn.itcast.domain.Archive;
import cn.itcast.service.ArchivesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ArchivesServiceImpl implements ArchivesService {
    @Autowired
    private ArchivesDao archivesDao;

    @Override
    public void save(Archive archive) {
        archivesDao.save(archive);
    }
}
